package com.zkthink.ceres.pay.wechat.v3.entity.result.refunds;

import com.alibaba.fastjson.annotation.JSONField;
import com.zkthink.ceres.pay.wechat.v3.entity.request.combine.Resource;
import com.zkthink.ceres.pay.wechat.v3.entity.request.refunds.Amount;
import com.zkthink.ceres.pay.wechat.v3.entity.result.BasePayResult;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.NoArgsConstructor;
import lombok.experimental.Accessors;

/**
 * <p>
 * 合并下单结果
 * </p>
 *
 * @author vivi.huang
 * @since 2020/5/17
 */
@Data
@Accessors(chain = true)
public class RefundsNotifyResult extends BasePayResult {

    private static final long serialVersionUID = 1960459269579244358L;


    /**
     * 通知类型	event_type	string(32)	是	通知的类型：
     * REFUND.SUCCESS：退款成功通知
     * REFUND.ABNORMAL：退款异常通知
     * REFUND.CLOSED：退款关闭通知
     * 示例值：REFUND.SUCCESS
     */
    @JSONField(name = "event_type")
    private String eventType;

    /**
     * 通知简要说明	summary	string(16)	是	通知简要说明
     * 示例值：退款成功
     */
    @JSONField(name = "summary")
    private String summary;

    /**
     * 通知数据类型	resource_type	string(32)	是	通知的资源数据类型，支付成功通知为encrypt-resource
     * 示例值：encrypt-resource
     */
    @JSONField(name = "resource_type")
    private String resourceType;

    /**
     *
     */
    @JSONField(name = "resource")
    private Resource resource;







}